<?php
/*
 **********************************************
 Copyright (c) 2006-2010 Anything-Digital.com
 **********************************************
 JCal Pro is a fork of the existing Extcalendar component for Joomla!
 (com_extcal_0_9_2_RC4.zip from mamboguru.com).
 Extcal (http://sourceforge.net/projects/extcal) was renamed
 and adapted to become a Mambo/Joomla! component by
 Matthew Friedman, and further modified by David McKinnis
 (mamboguru.com) to repair some security holes.

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 This header must not be removed. Additional contributions/changes
 may be added to this header as long as no information is deleted.
 **********************************************

 $Id: index.php 599 2010-03-19 17:35:30Z shumisha $

 **********************************************
 Get the latest version of JCal Pro at:
 http://dev.anything-digital.com//
 **********************************************
 */

/** ensure this file is being included by a parent file */
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );

// New language structure
$lang_info = array (
	'name' => 'Norwegian'
	,'nativename' => 'Norwegian' // Language name in native language. E.g: 'Fran�ais' for 'French'
	,'locale' => array('no','norwegian','nb_NO','nb_NO.UTF8') // Standard locale alternatives for a specific language. For reference, go to: http://www.php.net/manual/en/function.setlocale.php
	,'charset' => 'UTF-8' // For reference, go to : http://www.w3.org/International/O-charset-lang.html
	,'direction' => 'ltr' // 'ltr' for Left to Right. 'rtl' for Right to Left languages such as Arabic.
	,'author' => 'Knut Carlsen'
	,'author_email' => 'knut.carlsen@joocom.no'
	,'author_url' => 'http://www.joocom.no'
	,'transdate' => '24.02.2011'
	);

	$lang_general = array (
	'yes' => 'Ja'
	,'no' => 'Nei'
	,'back' => 'Tilbake'
	,'continue' => 'Fortsett'
	,'close' => 'Lukk'
	,'errors' => 'Feil'
	,'info' => 'Informasjon'
	,'day' => 'Dag'
	,'days' => 'Dager'
	,'month' => 'Måned'
	,'months' => 'Måneder'
	,'year' => 'År'
	,'years' => 'År'
	,'hour' => 'Time'
	,'hours' => 'Timer'
	,'minute' => 'Minutt'
	,'minutes' => 'Minutter'
	,'everyday' => 'Hver Dag'
	,'everymonth' => 'Hver Måned'
	,'everyyear' => 'Hvert år'
	,'active' => 'Aktiv'
	,'not_active' => 'Inaktiv'
	,'today' => 'Idag'
	,'signature' => 'Drevet av %s'
	,'expand' => 'Åpne'
	,'collapse' => 'Lukke'
	,'any_calendar' => 'Vis alle kalendere'
	,'noon' => 'noon'
  ,'midnight' => 'midnight'
  ,'am' => 'am'
  ,'pm' => 'pm'

	);

	// Date formats, For reference, go to : http://www.php.net/manual/en/function.strftime.php
	$lang_date_format = array (
	'full_date' => '%A, %B %d, %Y' // e.g. Wednesday, June 05, 2002
	,'full_date_time_24hour' => '%A %d.%B %Y At %H:%M' // e.g. Wednesday, June 05, 2002 At 21:05
	,'full_date_time_12hour' => '%A %d.%B %Y At %I:%M %p' // e.g. Wednesday, June 05, 2002 At 9:05 pm
	,'day_month_year' => '%d.%b.%Y' // e.g 10-Sep-2004
	,'local_date' => '%c' // Preferred date and time representation for current language
	,'mini_date' => '%a.%d.%b.%Y'
	,'month_year' => '%B %Y'
	,'day_of_week' => array('Søndag','Mandag','Tisdag','Onsdag','Torsdag','Fredag','Lørdag')
	,'months' => array('Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember')
	// Jcal Pro 2.1.x
  ,'date_entry' => '%d.%m.%y'
	);

	$lang_system = array (
	'system_caption' => 'Systemmelding'
	,'page_access_denied' => 'Du har ikke nok rettigheter til å hente frem denne siden.'
	,'page_requires_login' => 'Du må logge på for å hente frem denne siden.'
	,'operation_denied' => 'Du har ikke nok rettigheter til å utføre denne operasjonen.'
	,'section_disabled' => 'Seksjonen er ikke tilgjengelig !'
	,'non_exist_cat' => 'Kategorien eksisterer ikke !'
	,'non_exist_event' => 'Aktiviteten finnes ikke !'
	,'param_missing' => 'Oppgitte parametre er feil.'
	,'no_events' => 'Det er ingen aktiviteter å vise.'
	,'config_string' => 'Du bruker for øyeblikket \'%s\' som kjører på %s, %s och %s.'
	,'no_table' => '\'%s\' tabellen finnes ikke !'
	,'no_anonymous_group' => '%s tabellen inneholder ikke gruppen \'Anonymous\' !'
	,'calendar_locked' => 'Tjenesten er nede for service og oppgradering. Vi beklager detta !'
	,'new_upgrade' => 'Systemet har funnet en ny version. Det anbefales å oppgradere nå. Klikk "Fortsett" for å starte oppgraderingen.'
	,'no_profile' => 'Det oppstod en feil ved henting av din profil.'
	,'unknown_component' => 'Ukjent komponent'
	// Mail messages
	,'new_event_subject' => 'Ny aktivitet %s'
	,'event_notification_failed' => 'En feil oppstod når notifikasjons-epost skulle sendes !'
	
  ,'show_required_privileges' => 'Ditt brukernivå er %s, mens påkrevet er %s'  // JCal 2.1
  ,'template_block_not_found' => '<b>Feil i designmal<b><br />Feilet i å finne blokk \'%s\' i :<br /><pre>%s</pre>'
  ,'template_file_not_found' => '<b>JCAL Pro, kritisk feil</b>:<br />Ikke istand til å laste designmalen %s!</b>'
	);

	// Message body for new event email notification
	$lang_system['event_notification_body'] = <<<EOT
Følgende aktivitet er sendt {CALENDAR_NAME}
og trenger godkjenning

Tittel: "{TITLE}"
Dato: "{DATE}"
Varighet: "{DURATION}"

Du kan nå denne aktiviteten ved å klikke på lenken nederst
eller kopiere og lime inn i din nettleser.

{LINK}

(Du må være pålogget som administrator for at
denne lenken skal virke.)

Med vennlig hilsen,

Administrator for {CALENDAR_NAME}

EOT;

	// Admin menu entries
	$lang_admin_menu = array (
	'login' => 'Logg inn'
	,'register' => 'Registrer'
	,'logout' => 'Logg ut <span style="color:#FF9922">[<span style="color:#606F79">%s</span>]</span>'
	,'user_profile' => 'Min profil'
	,'admin_events' => 'Aktiviteter'
	,'admin_categories' => 'Kategorier'
	,'admin_groups' => 'Grupper'
	,'admin_users' => 'Brukere'
	,'admin_settings' => 'Innstillinger'
	);

	// Main menu entries
	$lang_main_menu = array (
	'add_event' => 'Legg til aktivitet'
	,'cal_view' => 'Månedlig visning'
	,'flat_view' => 'Flat visning'
	,'weekly_view' => 'Ukentlig visning'
	,'daily_view' => 'Dagvisning'
	,'yearly_view' => 'Årlig visning'
	,'categories_view' => 'Kategorier'
	,'search_view' => 'Søk'
	,'ical_view' => 'Eksporter som iCal'
	,'print_view' => 'Skriv ut'
	);

	// ======================================================
	// Add Event view
	// ======================================================

	$lang_add_event_view = array(
	'section_title' => 'Legg til aktivitet'
	,'edit_event' => 'Rediger aktivitet [id%d] \'%s\''
	,'update_event_button' => 'Oppdater aktivitet'

	// Event details
	,'event_details_label' => 'Aktivitetsdetaljer'
	,'event_title' => 'Aktivitetstittel'
	,'event_desc' => 'Aktivitetsbeskrivelse'
	,'event_cat' => 'Kategori'
	,'choose_cat' => 'Velg en kategori'
	,'event_date' => 'Aktivitetsdato'
	,'day_label' => 'Dag'
	,'month_label' => 'Måned'
	,'year_label' => 'År'
	,'start_date_label' => 'Starttid'
	,'start_time_label' => 'kl.'
	,'end_date_label' => 'Varighet'
	,'all_day_label' => 'Hele dagen'
	// Contact details
	,'contact_details_label' => 'Kontaktdetaljer'
	,'contact_info' => 'Kontaktinformasjon'
	,'contact_email' => 'E-post'
	,'contact_url' => 'Nettadresse'
	// Repeat events
	,'repeat_event_label' => 'Repeter aktivitet'
	,'repeat_method_label' => 'Repetisjonsmetode'
	,'repeat_none' => 'Ikke repeter denne aktiviteten'
	,'repeat_every' => 'Repeter hver'
	,'repeat_days' => 'Dag(er)'
	,'repeat_weeks' => 'Uke(r)'
	,'repeat_months' => 'Måned(er)'
	,'repeat_years' => 'År'
	,'repeat_end_date_label' => 'Sluttdato for repetisjon'
	,'repeat_end_date_none' => 'Uten sluttdato'
	,'repeat_end_date_count' => 'Avslutte etter %s forekomst(er)'
	,'repeat_end_date_until' => 'Repeter inntil'
	// new JCalpro 2
	,'repeat_event_detached' => 'Denne aktivitetet var del av en repeterende serie men har blitt endret og splittet fra denne'
	,'repeat_event_detached_short' => 'Splittet fra repeterende'
	,'repeat_event_not_detached' => 'Denne aktiviteten er del av en repeterende serie'
	,'repeat_edit_parent_event' => 'Rediger overordnet aktivitet'
	,'deleted_child_events' => 'Slettet %d tidligere instanser'
	,'created_child_events' => 'Opprettet totalt %d repetisjoner av aktivitet %s. Vis denne aktiviteten ved å <a href="%s" >klikke her</a>.'  // Jcal Pro 2.1.x

	// Other details
	,'other_details_label' => 'Andre detaljer'
	,'picture_file' => 'Bildefil'
	,'file_upload_info' => '(%d KBytes grense - Gyldige utvidelser : %s )'
	,'del_picture' => 'Slett gjeldende bilde ?'
	// Administrative options
	,'admin_options_label' => 'Administrative valg'
	,'auto_appr_event' => 'Aktivitet godkjent'

	// Error messages
	,'no_title' => 'Du må angi en tittel for aktiviteten!'
	,'no_desc' => 'Du ma angi en beskrivelse for denne aktiviteten!'
	,'no_cat' => 'Du må velge en kategori fra nedtrekksmenyen!'
	,'date_invalid' => 'Du må angi en gyldig dato for denne aktiviteten!'
	,'end_days_invalid' => 'The value entered in the \'Days\' field is not valid !'
	,'end_hours_invalid' => 'The value entered in the \'Hours\' field is not valid !'
	,'end_minutes_invalid' => 'The value entered in the \'Minutes\' field is not valid !'
	,'move_image_failed' => 'The system failed to properly upload the image. Please make sure it is the proper type and not too large, or notify the site administrator.'
	,'non_valid_dimensions' => 'The picture width or height is larger than %s pixels !'

	,'recur_val_1_invalid' => 'The value entered as \'repeat interval\' is not valid. This value must be a number greater than \'0\' !'
	,'recur_end_count_invalid' => 'The value entered as \'number of occurrences\' is not valid. This value must be a number greater than \'0\' !'
	,'recur_end_until_invalid' => 'The \'repeat until\' date is not valid !'
	,'no_recur_end_date' => 'A recurring event should have an end-date or a number of occurences'
	
	// new JCalpro 2
	,'failed_existing_event_update' => 'Databasefeil ved oppdatering av aktiviteten %s (%d)'
	,'failed_child_event_deletion' => 'Database error deleting children of event %s (%d)'
	,'failed_child_event_creation' => 'Database error creating children of event %s (%d)'
	,'no_calendar' => 'Du må velge en kalender fra nedtrekksmenyen!'
	,'event_cal' => 'Kalender'
	,'private_event' => 'Privat aktivitet'
	,'private_event_read_only' => 'Privat aktivitet, andre kan lese'
	,'public_event' => 'Offentlig aktivitet'
	,'privacy' => 'Privat'
	,'failed_event_creation' => 'Databasefeil ved opprettelse av denne aktiviteten'
	// Misc. messages JCal 2.1
	,'submit_event_pending' => 'Your event has been submitted! However, it will NOT appear on the calendar until it receives administrator approval. Thank you for your submission!'
	,'submit_event_approved' => 'Your event is automatically approved. View this event by <a href="%s" >clicking here</a>. Thank you for your submission!'
	,'event_repeat_msg' => 'Denne aktiviteten er satt til repeterende'
	,'event_no_repeat_msg' => 'Denne aktiviteten repeteres ikke'
	,'recur_start_date_invalid' => 'Start date is not valid. For a recurring event, start date must be on the first recurrence of the series (ie: if recurring every tuesday, start date has to be a tuesday)'
	
	// new JCalPro 2.1
	,'repeat_daily' => 'Repeter daglig'
	,'repeat_weekly' => 'Repeter ukentlig'
	,'repeat_monthly' => 'Repeter månedlig'
	,'repeat_yearly' => 'Repeter årlig'
	,'rec_weekly_on' => 'på :'
	,'rec_monthly_on' => 'on the:'
	,'rec_yearly_on' => 'on the:'
	,'rec_day_first' => 'første'
	,'rec_day_second' => 'andre'
	,'rec_day_third' => 'tredje'
	,'rec_day_fourth' => 'fjerde'
	,'rec_day_last' => 'siste'
	,'rec_day_day' => 'dag'
	,'rec_day_week_day' => 'ukedag'
	,'rec_day_weekend_day' => 'helgedag'
	,'rec_yearly_on_month_label' => 'i'
	
	);

	// ======================================================
	// daily view
	// ======================================================

	$lang_daily_event_view = array(
	'section_title' => 'Dagvisning'
	,'next_day' => 'Neste dag'
	,'previous_day' => 'Foregående dag'
	,'no_events' => 'Det er ingen aktiviter for denne dagen.'
	);

	// ======================================================
	// weekly view
	// ======================================================

	$lang_weekly_event_view = array(
	'section_title' => 'Ukentlig visning'
	,'week_period' => '%s - %s'
	,'next_week' => 'Neste uke'
	,'previous_week' => 'Foregående uke'
	,'selected_week' => 'Uke %d'
	,'no_events' => 'Det er ingen aktiviteter for denne uken'
	);

	// ======================================================
	// monthly view
	// ======================================================

	$lang_monthly_event_view = array(
	'section_title' => 'Månedlig visning'
	,'next_month' => 'Neste måned'
	,'previous_month' => 'Foregående måned'
	);

	// ======================================================
	// flat view
	// ======================================================

	$lang_flat_event_view = array(
	'section_title' => 'Flat visning'
	,'week_period' => '%s - %s'
	,'next_month' => 'Neste måned'
	,'previous_month' => 'Foregående måned'
	,'contact_info' => 'Kontaktinformasjon'
	,'contact_email' => 'E-post'
	,'contact_url' => 'Nettadresse'
	,'no_events' => 'Det er ingen aktiviteter for denne måneden'
	);

	// ======================================================
	// Event view
	// ======================================================

	$lang_event_view = array(
	'section_title' => 'Aktivitetsvisning'
	,'display_event' => 'Aktivitet: \'%s\''
	,'cat_name' => 'Kategori'
	,'event_start_date' => 'Dato'
	,'event_end_date' => 'Inntil'
	,'event_duration' => 'Varighet'
	,'contact_info' => 'Kontaktinformasjon'
	,'contact_email' => 'E-post'
	,'contact_url' => 'Nettadresse'
	,'no_event' => 'Det er ingen aktiviteter å vise.'
	,'stats_string' => '<strong>%d</strong> Totalt antall aktiviteter'
	,'edit_event' => 'Rediger aktivitet'
	,'delete_event' => 'Slett aktivitet'
	,'delete_confirm' => 'Ønsker du å slette denne aktiviteten?'
	
	);

	// ======================================================
	// Categories view
	// ======================================================

	$lang_cats_view = array(
	'section_title' => 'Categories View'
	,'cat_name' => 'Category Name'
	,'total_events' => 'Total Events'
	,'upcoming_events' => 'Upcoming Events'
	,'no_cats' => 'There are no categories to display.'
	,'stats_string' => 'There are <strong>%d</strong> Events in <strong>%d</strong> Categories'
	);

	// ======================================================
	// Category Events view
	// ======================================================

	$lang_cat_events_view = array(
	'section_title' => 'Events under \'%s\''
	,'event_name' => 'Event Name'
	,'event_date' => 'Date'
	,'no_events' => 'There are no events under this category.'
	,'stats_string' => '<strong>%d</strong> Events as Total'
	,'stats_string1' => '<strong>%d</strong> Event(s) in <strong>%d</strong> page(s)'
	);

	// ======================================================
	// cal_search.php
	// ======================================================

	$lang_event_search_data = array(
	'section_title' => 'Search Calendar',
	'search_results' => 'Search Results',
	'category_label' => 'Category',
	'date_label' => 'Date',
	'no_events' => 'There are no events under this category.',
	'search_caption' => 'Type in some keywords...',
	'search_again' => 'Search Again',
	'search_button' => 'Search',
	// Misc.
	'no_results' => 'No results found',	
	// Stats
	'stats_string1' => '<strong>%d</strong> event(s) found',
	'stats_string2' => '<strong>%d</strong> Event(s) in <strong>%d</strong> page(s)'
	);

	// ======================================================
	// profile.php
	// ======================================================

	if (defined('PROFILE_PHP'))

	$lang_user_profile_data = array(
	'section_title' => 'My Profile',
	'edit_profile' => 'Edit My Profile',
	'update_profile' => 'Update My Profile',
	'actions_label' => 'Actions',
	// Account Info
	'account_info_label' => 'Account Information',
	'user_name' => 'Username',
	'user_pass' => 'Password',
	'user_pass_confirm' => 'Confirm Password',
	'user_email' => 'E-mail Address',
	'group_label' => 'Group Membership',
	// Other Details
	'other_details_label' => 'Other Details',
	'first_name' => 'First Name',
	'last_name' => 'Last Name',
	'full_name' => 'Full Name',
	'user_website' => 'Home page',
	'user_location' => 'Location',
	'user_occupation' => 'Occupation',
	// Misc.
	'select_language' => 'Select Language',
	'edit_profile_success' => 'Profile updated succesfully',
	'update_pass_info' => 'Leave the password field empty if you don\'t need to change it',
	// Error messages
	'invalid_password' => 'Please enter a password that consists only of letters and numbers, between 4 and 16 characters long !',
	'password_is_username' => 'The password must be different from the username !',
	'password_not_match' =>'The password you entered does not match the \'confirm password\'',
	'invalid_email' => 'You must provide a valid email address !',
	'email_exists' => 'Another user has already registered with the email address you entered. Please enter a different email !',
	'no_email' => 'You must provide an email address !',
	'invalid_email' => 'You must provide a valid email address !',
	'no_password' => 'You must provide a password for this new account !'
	);

	// ======================================================
	// register.php
	// ======================================================

	if (defined('USER_REGISTRATION_PHP'))

	$lang_user_registration_data = array(
	'section_title' => 'User Registration',
	// Step 1: Terms & Conditions
	'terms_caption' => 'Terms and Conditions',
	'terms_intro' => 'In order to proceed, you must agree to the following:',
	'terms_message' => 'Please take a moment to review these rules detailed below. If you agree with them and wish to proceed with the registration, simply click the "I agree" button below. To cancel this registration, simply hit the \'back\' button on your browser.<br /><br />Please remember that we are not responsible for any events posted by users of this calendar application. We do not vouch for or warrant the accuracy, completeness or usefulness of any posted event, and are not responsible for the contents of any event.<br /><br />The messages express the views of the author of the event, not necessarily the views of this calendar application. Any user who feels that a posted event is objectionable is encouraged to contact us immediately by email. We have the ability to remove objectionable content and we will make every effort to do so, within a reasonable time frame, if we determine that removal is necessary.<br /><br />You agree, through your use of this service, that you will not use this calendar application to post any material which is knowingly false and/or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person\'s privacy, or otherwise violative of any law.<br /><br />You agree not to post any copyrighted material unless the copyright is owned by you or by %s.',
	'terms_button' => 'I agree',

	// Account Info
	'account_info_label' => 'Account Information',
	'user_name' => 'Username',
	'user_pass' => 'Password',
	'user_pass_confirm' => 'Confirm Password',
	'user_email' => 'E-mail Address',
	// Other Details
	'other_details_label' => 'Other Details',
	'first_name' => 'First Name',
	'last_name' => 'Last Name',
	'user_website' => 'Home page',
	'user_location' => 'Location',
	'user_occupation' => 'Occupation',
	'register_button' => 'Submit my registration',

	// Stats
	'stats_string1' => '<strong>%d</strong> users',
	'stats_string2' => '<strong>%d</strong> users on <strong>%d</strong> page(s)',
	// Misc.
	'reg_nomail_success' => 'Thank your for registering.',
	'reg_mail_success' => 'An email with information on how to activate your account was sent to the email address your provided.',
	'reg_activation_success' => 'Congratulations! Your account is now active and you can login with your username and password. Thank your for registering.',
	// Mail messages
	'reg_confirm_subject' => 'Registration at %s',

	// Error messages
	'no_username' => 'You must provide a username !',
	'invalid_username' => 'Please enter a username that consists only of letters and numbers, between 4 and 30 characters long !',
	'username_exists' => 'The username you entered is taken. Please suggest a different username !',
	'no_password' => 'You must provide a password !',
	'invalid_password' => 'Please enter a password that consists only of letters and numbers, between 4 and 16 characters long !',
	'password_is_username' => 'The password must be different from the username !',
	'password_not_match' =>'The password you entered does not match the \'confirm password\'',
	'no_email' => 'You must provide an email address !',
	'invalid_email' => 'You must provide a valid email address !',
	'email_exists' => 'Another user has already registered with the email address you entered. Please enter a different email !',
	'delete_user_failed' => 'This user account cannot be deleted',
	'no_users' => 'There are no user accounts to display !',
	'already_logged' => 'You are already logged in as a member !',
	'registration_not_allowed' => 'User registrations are currently disabled !',
	'reg_email_failed' => 'An error occurred while trying to send the activation email !',
	'reg_activation_failed' => 'An error occurred while trying to process the activation !'

	);
	// Message body for email activation
	$lang_user_registration_data['reg_confirm_body'] = <<<EOT
Thank you for registering at {CALENDAR_NAME}

Your username is : "{USERNAME}"
Your password is : "{PASSWORD}"

In order to activate your account, you need to click on the link below
or copy and paste it in your web browser.

{REG_LINK}

Regards,

The management of {CALENDAR_NAME}

EOT;

	// ======================================================
	// theme.php
	// ======================================================

	// To Be Done

	// ======================================================
	// functions.inc.php
	// ======================================================

	// To Be Done

	// ======================================================
	// dblib.php
	// ======================================================

	// To Be Done

	// ======================================================
	// admin_events.php
	// ======================================================

	if (defined('ADMIN_EVENTS_PHP'))

	$lang_event_admin_data = array(
	'section_title' => 'Event Administration',
	'events_to_approve' => 'Event Administration: Events to Approve',
	'upcoming_events' => 'Event Administration: Upcoming Events',
	'past_events' => 'Event Administration: Past Events',
	'add_event' => 'Add New Event',
	'edit_event' => 'Edit Event',
	'view_event' => 'View Event',
	'approve_event' => 'Approve Event',
	'update_event' => 'Update Event Info',
	'delete_event' => 'Delete Event',
	'events_label' => 'Events',
	'auto_approve' => 'Auto Approve',
	'date_label' => 'Date',
	'actions_label' => 'Actions',
	'events_filter_label' => 'Filter Events',
	'events_filter_options' => array('Show all events','Show unapproved events only','Show upcoming events only','Show past events only'),
	'picture_attached' => 'Picture attached',
	// View Event
	'view_event_name' => 'Aktivitet: \'%s\'',
	'event_start_date' => 'Dato',
	'event_end_date' => 'Til',
	'event_duration' => 'Varighet',
	'contact_info' => 'Kontaktinformasjon',
	'contact_email' => 'E-post',
	'contact_url' => 'Nettlenke',
	// General Info
	// Event form
	'edit_event_title' => 'Aktivitet: \'%s\'',
	'cat_name' => 'Kategori',
	'event_start_date' => 'Dato',
	'event_end_date' => 'Til',
	'contact_info' => 'Kontaktinformasjon',
	'contact_email' => 'E-post',
	'contact_url' => 'Nettlenke',
	'no_event' => 'There are no events to display.',
	'stats_string' => '<strong>%d</strong> Events as Total',
	// Stats
	'stats_string1' => '<strong>%d</strong> event(s)',
	'stats_string2' => 'Total: <strong>%d</strong> events on <strong>%d</strong> page(s)',
	// Misc.
	'add_event_success' => 'New event added succesfully.',
	'edit_event_success' => 'Event updated succesfully. View this event by <a href="%s" >clicking here</a>',  // Jcal Pro 2.1.x
	'approve_event_success' => 'Event approved succesfully',
	'delete_confirm' => 'Are you sure you want to delete this event ?',
	'delete_event_success' => 'Event deleted succesfully',
	'active_label' => 'Active',
	'not_active_label' => 'Not Active',
	// Error messages
	'no_event_name' => 'You must provide a name for this event !',
	'no_event_desc' => 'You must provide a description for this event !',
	'no_cat' => 'You must select a category for this event !',
	'no_day' => 'You must select a day !',
	'no_month' => 'You must select a month !',
	'no_year' => 'You must select a year !',
	'non_valid_date' => 'Please enter a valid date !',
	'end_days_invalid' => 'Please make sure the \'Days\' field under \'Duration\' consists of numbers only !',
	'end_hours_invalid' => 'Please make sure the \'Hours\' field under \'Duration\' consists of numbers only !',
	'end_minutes_invalid' => 'Please make sure the \'Minutes\' field under \'Duration\' consists of numbers only !',
	'delete_event_failed' => 'This event cannot be deleted',
	'approve_event_failed' => 'This event cannot not be approved',
	'no_events' => 'There are no events to display !',
	'recur_val_1_invalid' => 'The value entered as \'repeat interval\' is not valid. This value must be a number greater than \'0\' !',
	'recur_end_count_invalid' => 'The value entered as \'number of occurrences\' is not valid. This value must be a number greater than \'0\' !',
	'recur_end_until_invalid' => 'The \'repeat until\' date must be greater than the event start date !'

	);

	// ======================================================
	// admin_categories.php
	// ======================================================

	if (defined('ADMIN_CATS_PHP'))

	$lang_cat_admin_data = array(
	'section_title' => 'Administrasjon av kategorier',
	'add_cat' => 'Legg til ny kategori',
	'edit_cat' => 'Rediger kategori',
	'update_cat' => 'Oppdater kategoriinformasjon',
	'delete_cat' => 'Slett kategori',
	'events_label' => 'Aktiviteter',
	'visibility' => 'Visibility',
	'actions_label' => 'Actions',
	'users_label' => 'Users',
	'admins_label' => 'Admins',
	// General Info
	'general_info_label' => 'Generell informasjon',
	'cat_name' => 'Kategorinavn',
	'cat_desc' => 'Kategoribeskrivelse',
	'cat_color' => 'Farge',
	'pick_color' => 'Plukk en farge!',
	'status_label' => 'Status',
	'category_label' => 'Kategoritillatelser',
	// Stats
	'stats_string1' => '<strong>%d</strong> kategorier',
	'stats_string2' => 'Aktiv: <strong>%d</strong>&nbsp;&nbsp;&nbsp;Totalt: <strong>%d</strong>&nbsp;&nbsp;&nbsp;på <strong>%d</strong> side(r)',
	// Misc.
	'add_cat_success' => 'New category added succesfully',
	'edit_cat_success' => 'Category updated succesfully',
	'delete_confirm' => 'Are you sure you want to delete this category ?',
	'delete_cat_success' => 'Category deleted succesfully',
	'active_label' => 'Active',
	'not_active_label' => 'Not Active',
	// Error messages
	'no_cat_name' => 'You must provide a name for this category !',
	'no_cat_desc' => 'You must provide a description for this category !',
	'no_color' => 'You must provide a color for this category !',
	'delete_cat_failed' => 'This category cannot be deleted',
	'no_cats' => 'There are no categories to display !',
	'cat_has_events' => 'Category #%d contains %d event(s) and therefore cannot be deleted! Please delete remaining events under this category and try again!'
	,'default' => 'Use default from settings'
	,'no_cats_to_delete' => 'There is no category left to delete'

	);

	// JCAL pro 2
	// ======================================================
	// admin_calendars
	// ======================================================

	if (defined('ADMIN_CALS_PHP'))

	$lang_cal_admin_data = array(
	'section_title' => 'Kalenderadministrasjon',
	'add_cal' => 'Legg til ny kalender',
	'edit_cal' => 'Rediger kalender',
	'update_cal' => 'Oppdatert kalenderinformasjon',
	'delete_cal' => 'Slett kalender',
	'events_label' => 'Aktiviteter',
	'visibility' => 'Visibility',
	'actions_label' => 'Handlinger',
	'users_label' => 'Brukere',
	'admins_label' => 'Administratorer',
	// General Info
	'general_info_label' => 'Generell informasjon',
	'cal_name' => 'Kalendernavn',
	'cal_desc' => 'Kalenderbeskrivelse',
	'status_label' => 'Status',
	'calendar_label' => 'Kalendertillatelser',
	// Stats
	'stats_string1' => '<strong>%d</strong> kalendere',
	'stats_string2' => 'Aktiv: <strong>%d</strong>&nbsp;&nbsp;&nbsp;Total: <strong>%d</strong>&nbsp;&nbsp;&nbsp;på <strong>%d</strong> side(r)',
	// Misc.
	'add_cal_success' => 'Ny kalender ble lagt til',
	'edit_cal_success' => 'Kalender ble oppdatert',
	'delete_confirm' => 'Ønsker du å slette denne kalenderen?',
	'delete_cal_success' => 'Kalender ble slettet',
	'active_label' => 'Aktiv',
	'not_active_label' => 'Dektivert',
	// Error messages
	'no_cal_name' => 'You must provide a name for this calendar !',
	'no_cal_desc' => 'You must provide a description for this calendar !',
	'delete_cal_failed' => 'This calendar cannot be deleted',
	'no_cals' => 'There are no calendars to display !',
	'cal_has_events' => 'Calendar #%d contains %d event(s) and therefore cannot be deleted! Please delete remaining events under this calendar and try again!',
	'default' => 'Use default from settings'
	,'no_cals_to_delete' => 'There is no calendar left to delete'
	);

	// ======================================================
	// admin_users.php
	// ======================================================

	if (defined('ADMIN_USERS_PHP'))

	$lang_user_admin_data = array(
	'section_title' => 'User Administration',
	'add_user' => 'Add New User',
	'edit_user' => 'Edit User Info',
	'update_user' => 'Update User Info',
	'delete_user' => 'Delete User Account',
	'last_access' => 'Last Access',
	'actions_label' => 'Actions',
	'active_label' => 'Active',
	'not_active_label' => 'Not Active',
	// Account Info
	'account_info_label' => 'Account Information',
	'user_name' => 'Username',
	'user_pass' => 'Password',
	'user_pass_confirm' => 'Confirm Password',
	'user_email' => 'E-mail Address',
	'group_label' => 'Group Membership',
	'status_label' => 'Account Status',
	// Other Details
	'other_details_label' => 'Other Details',
	'first_name' => 'First Name',
	'last_name' => 'Last Name',
	'user_website' => 'Home page',
	'user_location' => 'Location',
	'user_occupation' => 'Occupation',
	// Stats
	'stats_string1' => '<strong>%d</strong> users',
	'stats_string2' => '<strong>%d</strong> users on <strong>%d</strong> page(s)',
	// Misc.
	'select_group' => 'Select one...',
	'add_user_success' => 'User account added succesfully',
	'edit_user_success' => 'User account updated succesfully',
	'delete_confirm' => 'Are you sure you want to delete this account?',
	'delete_user_success' => 'User account deleted succesfully',
	'update_pass_info' => 'Leave the password field empty if you don\'t need to change it',
	'access_never' => 'Never',
	// Error messages
	'no_username' => 'You must provide a username !',
	'invalid_username' => 'Please enter a username that consists only of letters and numbers, between 4 and 30 characters long !',
	'invalid_password' => 'Please enter a password that consists only of letters and numbers, between 4 and 16 characters long !',
	'password_is_username' => 'The password must be different from the username !',
	'password_not_match' =>'The password you entered does not match the \'confirm password\'',
	'invalid_email' => 'You must provide a valid email address !',
	'email_exists' => 'Another user has already registered with the email address you entered. Please enter a different email !',
	'username_exists' => 'The username you entered is taken. Please suggest a different username !',
	'no_email' => 'You must provide an email address !',
	'invalid_email' => 'You must provide a valid email address !',
	'no_password' => 'You must provide a password for this new account !',
	'no_group' => 'Please select a group of membership for this user !',
	'delete_user_failed' => 'This user account cannot be deleted',
	'no_users' => 'There are no user accounts to display !'

	);

	// ======================================================
	// admin_groups.php
	// ======================================================

	if (defined('ADMIN_GROUPS_PHP'))

	$lang_group_admin_data = array(
	'section_title' => 'Group Administration',
	'add_group' => 'Add New Group',
	'edit_group' => 'Edit Group',
	'update_group' => 'Update Group Info',
	'delete_group' => 'Delete Group',
	'view_group' => 'View Group',
	'users_label' => 'Members',
	'actions_label' => 'Actions',
	// General Info
	'general_info_label' => 'General Information',
	'group_name' => 'Group Name',
	'group_desc' => 'Group Description',
	// Group Access Level
	'access_level_label' => 'Group Access Level',
	'Administrator' => 'Users of this group have admin access',
	'can_manage_accounts' => 'Users of this group can manage accounts',
	'can_change_settings' => 'Users of this group can change calendar settings',
	'can_manage_cats' => 'Users of this group can manage categories',
	'upl_need_approval' => 'Submitted events require administrative approval',
	// Stats
	'stats_string1' => '<strong>%d</strong> groups',
	'stats_string2' => 'Total: <strong>%d</strong> groups on <strong>%d</strong> page(s)',
	'stats_string3' => 'Total: <strong>%d</strong> users on <strong>%d</strong> page(s)',
	// View Group Members
	'group_members_string' => 'Members of \'%s\' group',
	'username_label' => 'Username',
	'firstname_label' => 'First Name',
	'lastname_label' => 'Last Name',
	'email_label' => 'Email',
	'last_access_label' => 'Last Access',
	'edit_user' => 'Edit User',
	'delete_user' => 'Delete User',
	// Misc.
	'add_group_success' => 'New group added succesfully',
	'edit_group_success' => 'Group updated succesfully',
	'delete_confirm' => 'Are you sure you want to delete this group ?',
	'delete_user_confirm' => 'Are you sure you want to delete this group ?',
	'delete_group_success' => 'Group deleted succesfully',
	'no_users_string' => 'There are no users under this group',
	// Error messages
	'no_group_name' => 'You must provide a name for this group !',
	'no_group_desc' => 'You must provide a description for this group !',
	'delete_group_failed' => 'This group cannot be deleted',
	'no_groups' => 'There are no groups to display !',
	'group_has_users' => 'This group contains %d user(s) and therefore cannot be deleted!<br>Please unlink remaining users from this group and try again!'

	);

	// ======================================================
	// admin_settings.php / admin_settings_template.php /
	// admin_settings_updates.php
	// ======================================================

	$lang_settings_data = array(
	'section_title' => 'Kalenderinnstillinger'
	// Links
	,'admin_links_text' => 'Velg seksjon'
	,'admin_links' => array('Hovedinnstillinger','Konfigurer designmal','Produktoppdateringer')
	// General Settings
	,'general_settings_label' => 'Generell'
	,'calendar_name' => 'Kalendernavn'
	,'calendar_description' => 'Kalenderbeskrivelse'
	,'calendar_admin_email' => 'E-post til administrator for kalenderen'
	,'cookie_name' => 'Navn på "cookie" brukt av skriptet'
	,'cookie_path' => 'Sti for "cookie" brukt av skriptet'
	,'debug_mode' => 'Aktiver feilsøkingsmodus'
	// Environment Settings
	,'env_settings_label' => 'Miljø'
	,'lang' => 'Språk'
	,'lang_name' => 'Språk'
	,'lang_native_name' => 'Lokalt navn'
	,'lang_trans_date' => 'Oversettelsesdato'
	,'lang_author_name' => 'Forfatter'
	,'lang_author_email' => 'E-post'
	,'lang_author_url' => 'Nettsted'
	,'charset' => 'Character encoding'
	,'theme' => 'Designmal'
	,'theme_name' => 'Navn på designmal'
	,'theme_date_made' => 'Opprettet'
	,'theme_author_name' => 'Forfatter'
	,'theme_author_email' => 'E-post'
	,'theme_author_url' => 'Nettsted'
	,'timezone' => 'Bruk denne tidssonen for DST-kalkulasjon'
	,'time_format' => 'Format for tidsvisning'
	,'24hours' => '24-timers visning'
	,'12hours' => '12-timers visning'
	,'auto_daylight_saving' => 'Juster automatisk for sommertid(DST)'
	,'main_table_width' => 'Bredde på hovedtabell (Pixels eller %)'
	,'day_start' => 'Uker starter på'
	,'default_view' => 'Stardard visning'
	,'search_view' => 'Aktiver søk'
	,'archive' => 'Vis tildligere aktiviteter'
	,'events_per_page' => 'Antall aktiviterer pr. side'
	,'sort_order' => 'Standard rekkefølge'
	,'sort_order_title_a' => 'Tittel stigende'
	,'sort_order_title_d' => 'Tittel synkende'
	,'sort_order_date_a' => 'Dato stigende'
	,'sort_order_date_d' => 'Dato synkende'
	,'show_recurrent_events' => 'Vis repeterende aktiviteter'
	,'multi_day_events' => 'Flerdagsaktiviteter'
	,'multi_day_events_all' => 'Vis hele datoområdet'
	,'multi_day_events_bounds' => 'Vis bare start- og sluttdager'
	,'multi_day_events_start' => 'Vis bare startdato'
	// User Settings
	,'user_settings_label' => 'Brukerinnstillinger'
	,'allow_user_registration' => 'Allow user registrations'
	,'reg_duplicate_emails' => 'Allow duplicate emails'
	,'reg_email_verify' => 'Enable account activation through email'
	// Event View
	,'event_view_label' => 'Event View'
	,'popup_event_mode' => 'Pop-up Event'
	,'popup_event_width' => 'Width of the Pop-up window'
	,'popup_event_height' => 'Height of the Pop-up window'
	// Add Event View
	,'add_event_view_label' => 'Add Event'
	,'add_event_view' => 'Enabled'
	,'addevent_allow_html' => 'Allow <b>HTML</b> in the description'
	,'addevent_allow_contact' => 'Allow Contact'
	,'addevent_allow_email' => 'Allow Email'
	,'addevent_allow_url' => 'Allow URL'
	,'addevent_allow_picture' => 'Allow Pictures'
	,'new_post_notification' => 'Email Me When Events Need Approval'
	// Calendar View
	,'calendar_view_label' => 'Monthly View'
	,'monthly_view' => 'Enabled'
	,'cal_view_show_week' => 'Display Week Numbers'
	,'cal_view_max_chars' => 'Maximum Characters in the Title'
	// Flyer View
	,'flyer_view_label' => 'Flat View'
	,'flyer_view' => 'Enabled'
	,'flyer_show_picture' => 'Display Pictures in Flat View'
	,'flyer_view_max_chars' => 'Maximum Characters in the Description'
	// Weekly View
	,'weekly_view_label' => 'Weekly View'
	,'weekly_view' => 'Enabled'
	,'weekly_view_max_chars' => 'Maximum Characters in the Title'
	// Daily View
	,'daily_view_label' => 'Daily View'
	,'daily_view' => 'Enabled'
	,'daily_view_max_chars' => 'Maximum Characters in the Title'
	// Categories View
	,'categories_view_label' => 'Cats View'
	,'cats_view' => 'Enabled'
	,'cats_view_max_chars' => 'Maximum Characters in the Title'
	// Mini Calendar
	,'mini_cal_label' => 'Mini Calendar'
	,'mini_cal_def_picture' => 'Default Picture'
	,'mini_cal_display_picture' => 'Display Picture'
	,'mini_cal_diplay_options' => array('None','Default Picture', 'Daily Picture','Weekly Picture','Random Picture')
	// Mail Settings
	,'mail_settings_label' => 'Mail Settings'
	,'mail_method' => 'Method to Send Mail'
	,'mail_smtp_host' => 'SMTP Hosts (separated by a semicolon ;)'
	,'mail_smtp_auth' => ' SMTP Authentication'
	,'mail_smtp_username' => 'SMTP Username'
	,'mail_smtp_password' => 'SMTP Password'

	// Form Buttons
	,'update_config' => 'Save New Configuration'
	,'restore_config' => 'Restore Factory Defaults'
	// Misc.
	,'update_settings_success' => 'Settings updated succesfully'
	,'restore_default_confirm' => 'Are you sure you want to restore default settings ?'
	// Template Configuration
	,'template_type' => 'Template type'
	,'template_header' => 'Header Customization'
	,'template_footer' => 'Footer Customization'
	,'template_status_default' => 'Use default theme template'
	,'template_status_custom' => 'Use the following template:'
	,'template_custom' => 'Custom template'

	,'info_meta' => 'Meta Information'
	,'info_status' => 'Status control'
	,'info_status_default' => 'Disable this content'
	,'info_status_custom' => 'Display the following content:'
	,'info_custom' => 'Custom content'

	,'dynamic_tags' => 'Dynamic Tags'

	// Product Updates
	,'updates_check_text' => 'Please wait while we retrieve information from the server...'
	,'updates_no_response' => 'No response from the server. Please try again later.'
	,'avail_updates' => 'Available Updates'
	,'updates_download_zip' => 'Download ZIP package (.zip)'
	,'updates_download_tgz' => 'Download TGZ package (.tar.gz)'
	,'updates_released_label' => 'Release Date: %s'
	,'updates_no_update' => 'You are running the latest version available. No update is needed.'
	);

	// ======================================================
	// cal_mini.inc.php
	// ======================================================

	$lang_mini_cal = array(
	'def_pic' => 'Default Picture'
	,'daily_pic' => 'Picture of the Day (%s)'
	,'weekly_pic' => 'Picture of the Week (%s)'
	,'rand_pic' => 'Random Picture (%s)'
	,'post_event' => 'Post New Event'
	,'num_events' => '%d event(s)'
	,'selected_week' => 'Week %d'
	);

	// ======================================================
	// extcalendar.php
	// ======================================================

	// To Be Done

	// ======================================================
	// config.inc.php
	// ======================================================

	// To Be Done

	// ======================================================
	// install.php
	// ======================================================

	// To Be Done

	// ======================================================
	// login.php
	// ======================================================

	if (defined('LOGIN_PHP'))

	$lang_login_data = array(
	'section_title' => 'Innlogging'
	// General Settings
	,'login_intro' => 'Registrer brukernavn og passord for å logge inn'
	,'username' => 'Brukernavn'
	,'password' => 'Passord'
	,'remember_me' => 'Husk meg'
	,'login_button' => 'Logg inn'
	// Errors
	,'invalid_login' => 'Bekreft informasjonen og prøv igjen'
	,'no_username' => 'Du må angi brukernavn'
	,'already_logged' => 'Du er allerede pålogget'
	);

	// ======================================================
	// logout.php
	// ======================================================

	// To Be Done


	// ======================================================
	// plugins.php
	// ======================================================

	// To Be Done

	 // ======================================================
  // latest_events module
  // ======================================================

  $lang_latest_events = array(
  'view_full_cal' => 'Vis full kalender'
  ,'add_new_event' => 'Legg til ny aktivitet'
  ,'recent_events' => 'Recent events'
  ,'no_events_scheduled' => 'Det er for tiden ingen planlagte aktiviteter.'
  ,'more_days' => ' Flere dager'
  ,'days_ago' => ' Dager siden'
  );



	// New defined constants, used to make a start with new language system

  if (!defined('_EXTCAL_THEMES_INSTALL_HEADING'))
  {
    DEFINE('_EXTCAL_THEMES_INSTALL_HEADING', 'JCal Pro Administrasjon av designmaler');

    //Common
    DEFINE('_EXTCAL_VERSION', 'Versjon');
    DEFINE('_EXTCAL_DATE', 'Dato');
    DEFINE('_EXTCAL_AUTHOR', 'Forfatter');
    DEFINE('_EXTCAL_AUTHOR_EMAIL', 'Forfatters e-post');
    DEFINE('_EXTCAL_AUTHOR_URL', 'Forfatters nettadresse');
    DEFINE('_EXTCAL_PUBLISHED', 'Publisert');

    //Plugins
    DEFINE('_EXTCAL_THEME_PLUGIN', 'Designmal');
    DEFINE('_EXTCAL_THEME_PLUGCOM', 'Designmal/kommando');
    DEFINE('_EXTCAL_THEME_NAME', 'Navn');
    DEFINE('_EXTCAL_THEME_HEADING', 'JCal Pro Administrer designmaler');
    DEFINE('_EXTCAL_THEME_FILTER', 'Filter');
    DEFINE('_EXTCAL_THEME_ACCESS_LIST', 'Adgangsliste');
    DEFINE('_EXTCAL_THEME_ACCESS_LVL', 'Adgangsnivå');
    DEFINE('_EXTCAL_THEME_CORE', 'Kjerne');
    DEFINE('_EXTCAL_THEME_DEFAULT', 'Standard');
    DEFINE('_EXTCAL_THEME_ORDER', 'Rekkefølge');
    DEFINE('_EXTCAL_THEME_ROW', 'Row');
    DEFINE('_EXTCAL_THEME_TYPE', 'Type');
    DEFINE('_EXTCAL_THEME_ICON', 'Ikon');
    DEFINE('_EXTCAL_THEME_LAYOUT_ICON', 'Utseende ikon');
    DEFINE('_EXTCAL_THEME_DESC', 'Beskrivelse');
    DEFINE('_EXTCAL_THEME_EDIT', 'Rediger');
    DEFINE('_EXTCAL_THEME_NEW', 'Ny');
    DEFINE('_EXTCAL_THEME_DETAILS', 'Utvidelsesdetaljer');
    DEFINE('_EXTCAL_THEME_PARAMS', 'Parametere');
    DEFINE('_EXTCAL_THEME_ELMS', 'Elementer');
    //Plugin Installer
    DEFINE('_EXTCAL_THEMES_INSTALL_MSG', 'Bare de designmalene som avinstalleres vises - Kjernens designmal kan ikke fjernes.');
    DEFINE('_EXTCAL_THEME_NONE', 'Det er ingen designmaler utenom kjernens installert');

    //Language Manager
    DEFINE('_EXTCAL_LANG_HEADING', 'EXTCAL Språkbehandling');
    DEFINE('_EXTCAL_LANG_LANG', 'Språk');

    //Language Installer
    DEFINE('_EXTCAL_LANG_HEADING_INSTALL', 'Installer nytt språk for EXTCAL');
    DEFINE('_EXTCAL_LANG_BACK', 'Tilbake til språkbehandling');
    //

    //Global Installer
    DEFINE('_EXTCAL_INS_PACKAGE_UPLOAD', 'Last opp filpakke');
    DEFINE('_EXTCAL_INS_PACKAGE_FILE', 'Filpakke');
    DEFINE('_EXTCAL_INS_INSTALL', 'Installer fra mappe');
    DEFINE('_EXTCAL_INS_INSTALL_DIR', 'Installasjonsmappe');
    DEFINE('_EXTCAL_INS_UPLOAD_BUTTON', 'Last opp fil &amp; Installer');
    DEFINE('_EXTCAL_INS_INSTALL_BUTTON', 'Installer');
  }
  